A Comparative Study of Genetic Programming and Grammatical Evolution for Evolving Data Structures
نویسندگان
چکیده
The research presented in the paper forms part of a larger initiative aimed at automatic algorithm induction using machine learning. This paper compares the performance of two machine learning techniques, namely, genetic programming and a variation of genetic programming, grammatical evolution, for automatic algorithm induction. The application domain used to evaluate both the approaches is the induction of data structure algorithms. Genetic programming is an evolutionary algorithm that searches a program space for an algorithm/program which when executed will provide a solution to the problem at hand. Grammatical evolution is a variation of genetic programming which provides a more flexible encoding, thereby eliminating the sufficiency and closure requirement imposed by genetic programming. The paper firstly extends previous work on genetic programming for evolving data structures, providing an alternative genetic programming solution to the problem. A grammatical evolution solution to the problem is then presented. This is the first application of grammatical evolution to this domain and for the simultaneous induction of algorithms. The performance of these approaches in inducing algorithms for the stack and queue data structures are compared. Keywords—algorithm induction; genetic programming; grammatical evolution; automatic programming
منابع مشابه
A Method for Solving Optimal Control Problems Using Genetic Programming
This paper deals with a novel method for solving optimal control problems based on genetic programming. This approach produces some trial solutions and seeks the best of them. If the solution cannot be expressed in a closed analytical form then our method produces an approximation with a controlled level of accuracy. Using numerical examples, we will demonstrate how to use the results.
متن کاملA Genetic Programming-based Scheme for Solving Fuzzy Differential Equations
This paper deals with a new approach for solving fuzzy differential equations based on genetic programming. This method produces some trial solutions and seeks the best of them. If the solution cannot be expressed in a closed analytical form then our method produces an approximation with a controlled level of accuracy. Furthermore, the numerical results reveal the potential of the proposed appr...
متن کاملAnalytic Programming – Symbolic Regression by Means of Arbitrary Evolutionary Algorithms
This contribution introduces analytical programming, a novel method that allows solving various problems from the symbolic regression domain. Symbolic regression was first proposed by J. R. Koza in his genetic programming and by C. Ryan in grammatical evolution. This contribution explains the main principles of analytic programming, and demonstrates its ability to synthesize suitable solutions,...
متن کاملEvolving Coverage Optimisation Functions for Heterogeneous Networks Using Grammatical Genetic Programming
Evolving classification models for prediction of patient recruitment in multicentre clinical trials using grammatical evolution Gilyana Borlikova, Michael Phillips, Louis Smith, Michael O'Neill Successful and timely completion of prospective clinical trials depends on patient recruitment as patients are critical to delivery of the prospective trial data. There exists a pressing need to develop ...
متن کاملGrammatical Evolution: Evolving Programs for an Arbitrary Language
We describe a Genetic Algorithm that can evolve complete programs. Using a variable length linear genome to govern how a Backus Naur Form grammar deenition is mapped to a program, expressions and programs of arbitrary complexity may be evolved. Other automatic programming methods are described, before our system, Grammatical Evolution, is applied to a symbolic regression problem.
متن کامل